import instance from '@/utils/request';

//财务类别列表
export function GetPayTypeListApi(data) {
    return instance.request({
        url: "api/PayType/GetPayTypeList",
        method: "post",
        params:data
    })
}
//财务类别添加
export function AddPayTypeApi(data) {
    return instance.request({
        url: "api/PayType/AddPayType",
        method: "post",
        data
    })
}
//财务类别删除
export function DeletePayTypeApi(data) {
    return instance.request({
        url: "api/PayType/DeletePayType",
        method: "post",
        data
    })
}
//财务类别批量删除
export function DeletePayTypeListApi(data) {
    return instance.request({
        url: "api/PayType/DeletePayTypeList",
        method: "post",
        data
    })
}

//财务类别反填
export function GetPayTypeByIdApi(data) {
    return instance.request({
        url: "api/PayType/GetPayTypeById",
        method: "post",
        data
    })
}
//财务类别编辑
export function EditPayTypeApi(data) {
    return instance.request({
        url: "api/PayType/EditPayType",
        method: "post",
        data
    })
}